package com.example.teesystem.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName t_exam_issue
 */
@TableName(value ="t_exam_issue")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExamIssue implements Serializable{
    /**
     * key自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 试卷id
     */
    @TableField(value = "paper_id")
    private Integer paperId;

    /**
     * 题目id
     */
    @TableField(value = "issue_id")
    private Integer issueId;

    /**
     * 分数
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 是否删除，0 未删除， 1 已删除
     */
    @TableLogic
    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}